home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / clonetab.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  1.0 KB  |  29 lines

  1. //---------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1998 Borland International Inc. All Rights Reserved.
  4. //---------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef CloneTabH
  7. #define CloneTabH
  8. //----------------------------------------------------------------------------
  9. #include <Dbtables.hpp>
  10.  
  11. class TCloneTable : public TTable
  12. {
  13.    private:
  14.         _hDBIObj *FSourceHandle;
  15.         void __fastcall SetSourceHandle(hDBICur ASourceHandle);
  16.  
  17.    protected:
  18.         virtual hDBICur __fastcall CreateHandle(void);
  19.     
  20.    public:
  21.            __fastcall TCloneTable(TComponent* AOwner, bool Reset);
  22.         void __fastcall InitFromTable(TTable* SourceTable, bool Reset);
  23.  
  24.         /* TTable.Create */ __fastcall virtual TCloneTable(Classes::TComponent* AOwner) : Dbtables::TTable(
  25.         AOwner) { }
  26.     /* TTable.Destroy */ __fastcall virtual ~TCloneTable(void) { }
  27. };
  28. #endif
  29.